<?php

namespace App\Http\Controllers\Home;
use App\Models\Charge;

class ChargeController extends BaseController
{

    public function __construct(Charge $charge)
    {
        parent::__construct();
        $this->charge = $charge;
    }


    /**
     * 读取充值记录
     */
    public function getChargeLog(){
         $res = $this-> charge ->charge_log();
         return ajax_return($res);
    }

}
